\hypertarget{structnih_1_1_base__distribution}{
\section{nih\-:\-:\-Base\-\_\-distribution$<$ \-Derived\-\_\-type $>$ \-Struct \-Template \-Reference}
\label{structnih_1_1_base__distribution}\index{nih\-::\-Base\-\_\-distribution$<$ Derived\-\_\-type $>$@{nih\-::\-Base\-\_\-distribution$<$ Derived\-\_\-type $>$}}
}


{\ttfamily \#include $<$distributions.\-h$>$}

\subsection*{\-Public \-Member \-Functions}
\begin{DoxyCompactItemize}
\item 
{\footnotesize template$<$typename Generator $>$ }\\float \hyperlink{structnih_1_1_base__distribution_af5dfede8d6986295917e5ae7c3615cb2}{next} (\-Generator \&gen) const 
\end{DoxyCompactItemize}


\subsection{\-Detailed \-Description}
\subsubsection*{template$<$typename \-Derived\-\_\-type$>$struct nih\-::\-Base\-\_\-distribution$<$ Derived\-\_\-type $>$}

\-Base distribution class 

\subsection{\-Member \-Function \-Documentation}
\hypertarget{structnih_1_1_base__distribution_af5dfede8d6986295917e5ae7c3615cb2}{
\index{nih\-::\-Base\-\_\-distribution@{nih\-::\-Base\-\_\-distribution}!next@{next}}
\index{next@{next}!nih::Base_distribution@{nih\-::\-Base\-\_\-distribution}}
\subsubsection[{next}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename \-Derived\-\_\-type$>$ template$<$typename Generator $>$ float {\bf nih\-::\-Base\-\_\-distribution}$<$ \-Derived\-\_\-type $>$\-::next (
\begin{DoxyParamCaption}
\item[{\-Generator \&}]{gen}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{structnih_1_1_base__distribution_af5dfede8d6986295917e5ae7c3615cb2}
return the next number in the sequence mapped through the distribution


\begin{DoxyParams}{\-Parameters}
{\em gen} & random number generator \\
\hline
\end{DoxyParams}


\-The documentation for this struct was generated from the following file\-:\begin{DoxyCompactItemize}
\item 
sampling/\hyperlink{distributions_8h}{distributions.\-h}\end{DoxyCompactItemize}
